import request from '@/utils/request'
import qs from "qs";

const BASE_URL = "category"

export function getAllMenus(query) {
  return request({
    url: BASE_URL + "/getByPage",
    method: 'get',
    params: query,
    paramsSerializer: params => {
      return qs.stringify(query, { indices: false });
    }
  })
}

